package com.scorpio.goods.service;

import com.scorpio.basic.dto.NameIdDTO;
import com.scorpio.goods.domain.GoodsSkuEntity;
import com.scorpio.goods.domain.GoodsSkuSpecEntity;

import java.util.List;

public interface IGoodsSkuSpecService {

    //根据规格查询sku
    List<Long> selectSkuIdsBySpec(Long specId);

    List<Long> selectSkuIdsBySku(Long skuId);

    List<GoodsSkuSpecEntity> selectSkuBySpec(Long specId);

    int  save(String goodsNumber,GoodsSkuSpecEntity entity);

    boolean saveAll(List<GoodsSkuSpecEntity> list);
}
